package com.red.wood.module.eval.service.impl;

import java.util.List;
import java.util.Map;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.red.wood.module.eval.dao.ApplicationCdnCNameDao;
import com.red.wood.module.eval.service.ApplicationCdnCNameService;

@Service
@Transactional
public class ApplicationCdnCNameServiceImpl implements ApplicationCdnCNameService{

	@Autowired
	private ApplicationCdnCNameDao applicationCdnCNameDao;
	
	@Override
	public void add(List<Map<String, Object>> paramList) {
		applicationCdnCNameDao.add(paramList);
	}

	@Override
	public void delete(String singleTaskId) {
		applicationCdnCNameDao.delete(singleTaskId);
	}

	@Override
	public List<Map<String, Object>> getBySingleTaskId(String singleTaskId) {
		return applicationCdnCNameDao.getBySingleTaskId(singleTaskId);
	}

}
